from pydantic import BaseModel
from typing import List

class NamespaceMetadata(BaseModel):
    name: str
    uid: str
    creation_timestamp: str
    
    class Config:
        arbitrary_types_allowed = True

class Namespace(BaseModel):
    metadata: NamespaceMetadata
    
    class Config:
        arbitrary_types_allowed = True

class NamespaceList(BaseModel):
    items: List[Namespace]